html,body{
  height:100%;
}

@font-face {
  font-family: 'carutoo-font';  /* project id 225012 */
    src: url('//at.alicdn.com/t/font_lbd9l5cpow7y14i.eot');
    src: url('//at.alicdn.com/t/font_lbd9l5cpow7y14i.eot?#iefix') format('embedded-opentype'),
    url('//at.alicdn.com/t/font_lbd9l5cpow7y14i.woff') format('woff'),
    url('//at.alicdn.com/t/font_lbd9l5cpow7y14i.ttf') format('truetype'),
    url('//at.alicdn.com/t/font_lbd9l5cpow7y14i.svg#iconfont') format('svg');
}

[class*="j-icon-"],[class^=j-icon-] {
  font-family: "carutoo-font" !important;
  font-style: normal;
  speak: none;
  display: inline-block;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: baseline;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.j-icon-edit:before { content: "\e65a"; }
.j-icon-star-on:before { content: "\e62b"; }
.j-icon-listpress:before { content: "\e605"; }
.j-icon-star-off:before { content: "\e60c"; }
.j-icon-yun:before { content: "\e644"; }
.j-icon-shanchu:before { content: "\e60e"; }
.j-icon-del:before { content: "\e7d1"; }
.j-icon-pos:before { content: "\e602"; }



#page-app,.page{
  height:100%;
}
.pl{
  position: relative;
}
.fl{
  float: left;
}
.fr{
  float: right;
}
.mt-5{
  margin-top: 5px;
}
.font-12{
  font-size:12px !important;
}
.font-14{
  font-size:14px;
}
.font-16{
  font-size:16px;
}
.color-1{
  color:#009900 !important;
}
.color-2{
  color:#949494 !important
}
.color-3{
  color:#ce3c39;
}
.weui-cell__hd{
  font-size:16px;
}
.page{
  background-color: #f8f8f8;
  overflow-y: auto;
  overflow-x:hidden;
  -webkit-overflow-scrolling: touch;
  z-index: 1;
}
.line-bottom{
  &:after{
    content: " ";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    border-bottom: 1px solid #d9d9d9;
    color: #d9d9d9;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5);
  }
}
.line-top{
  &:before{
    content: " ";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    border-bottom: 1px solid #d9d9d9;
    color: #d9d9d9;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5);
  }
}
.line-left{
  &:before,&:after{
    content: " ";
    position: absolute;
    bottom: 0px;
    top:0px;
    width: 1px;
    border-left: 1px solid #d9d9d9;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: scaleX(.5);
    transform: scaleX(.5);
  }
  &:before{
    left:0
  }
  &:after{
    right:-2px
  }
}
.weui-toast{
  top: 50%;
  margin-top: -4.5em;
}
.line-right{
  &::after{
    content: " ";
    position: absolute;
    bottom: 0px;
    right:-1px;
    top:0;
    width: 1px;
    border-right: 1px solid #d9d9d9;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: scaleX(.5);
    transform: scaleX(.5);
  }
}
.line-bottom{
  &:after{
    bottom:-1px;
  }
}
.line-top{
  &:before{
    top:-1px;
  }
}
.page .weui-cell__ft:after {
  content: " ";
  display: inline-block;
  height: 6px;
  width: 6px;
  border-width: 2px 2px 0 0;
  border-color: #C8C8CD;
  border-style: solid;
  -webkit-transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
  transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
  position: relative;
  top: -1px;
  position: absolute;
  top: 50%;
  margin-top: -4px;
  right: 2px;
}
.J-button-subit{
  padding:15px;
  .weui-btn{
    font-size:18px;
    line-height: 2.455556;
  }
}
.J-price{
  position: relative;
  padding-left:13px;
  left:-4px;
  &:before{
    content: '￥';
    font-size:12px;
    float:left;
    height:14px;
    position: absolute;
    left:0px;
    top:1px;
  }
}
.page .weui-switch, .page .weui-switch-cp__box{
  width:40px;
  height:22px;
}
.page .weui-switch-cp__box:before, .page .weui-switch:before{
  width:38px;
  height:20px;
}
.page .weui-switch-cp__box:after, .page .weui-switch:after{
  height:20px;
  width:20px;
}
.page .weui-switch-cp__input:checked~.weui-switch-cp__box:after,.page .weui-switch:checked:after{
  -webkit-transform: translateX(18px);
  transform: translateX(18px);
}

.J-nav{
  background-color:#e8e8e8;
  padding:8px 10px;
  overflow: hidden;
  font-size:14px;
  .fr{
    color:#333;
  }
}
.nodata{
  text-align: center;
  line-height:60px;
  font-size:14px;
}
